package com.proposition.logger.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.proposition.commons.model.SysUserLog;
import com.proposition.logger.mapper.SysUserLogMapper;
import com.proposition.logger.service.SysUserLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * ${DESCRIPTION}
 *
 * @author 杨凯
 * @create 2017-11-10 10:00
 **/
@Service
public class SysUserLogServiceImpl extends ServiceImpl<SysUserLogMapper,SysUserLog> implements SysUserLogService {

	@Autowired
	private SysUserLogMapper sysUserLogMapper;
	@Override
	public boolean addUserLogInfo(SysUserLog sysUserLog) {
		return sysUserLogMapper.insert(sysUserLog) == 1?true:false;
	}
}
